<div id="sksh_tabs" class="easyui-tabs" detail="true" data-options="fit:true,border:false">
    <div title="收款单信息">
        <table style="width: 100%" class="tb tab-t t-bor">
            <input type="hidden" id="sksh_detail_id" value="${(sksh.id)!}"/>
            <col width="100px"/>
            <col width=""/>
            <col width="90px"/>
            <col width=""/>
            <col width="120px"/>
            <col width=""/>
            <tr>
                <th style="color:#f45212;">
                    单&nbsp;据&nbsp;&nbsp;号：
                </th>
                <td>
                ${(sksh.bm)!}
                </td>
                <th>款项类型：</th>
                <td>
                <#if sksh.fplx?? && sksh.fplx==0 >
                    非计划现货
                </#if>
                <#if sksh.fplx?? && sksh.fplx==1 >
                    物流金融
                </#if>
                </td>
                <th>款项用途：</th>
                <td>
                ${(sksh.kxsy.z)!}
                </td>
            </tr>
            <tr>
                <th>付款方式：</th>
                <td>
                ${(sksh.fkfs.z)!}
                </td>
                <th>票据号码：</th>
                <td>
                ${(sksh.pjhm)!}
                </td>
                <th>关联企业：</th>
                <td>
                ${(sksh.gldw.qc)!}
                </td>

            </tr>
            <tr>
                <th>收款金额(元)：</th>
                <td>
                ${(sksh.sfje?string(",##0.00"))!}
                </td>
                <th>收款余额(元)：</th>
                <td>
                ${(sksh.ye?string(",##0.00"))!}
                </td>
                <th>收款日期：</th>
                <td>
                ${(sksh.sfkrq?date)!}
                </td>
            </tr>
            <tr>
                <th>客户付款时间：</th>
                <td>
                ${(sksh.khfksj?date)!}
                </td>
                <th>开票日期：</th>
                <td>
                ${(sksh.startDate?date)!}
                </td>
                <th>到票日期：</th>
                <td>
                ${(sksh.endDate?date)!}
                </td>
            </tr>
            <tr>
                <th>免息天数(天)：</th>
                <td>
                ${(sksh.mxts)!}
                </td>
                <th>月贴息率(%)：</th>
                <td>
                ${(sksh.txl)!}
                </td>
                <th>计算天数：</th>
                <td>
                ${(sksh.jstx)!}
                </td>
            </tr>
            <tr>
                <th>贴息金额(元)：</th>
                <td>
                ${(sksh.tx)!}
                </td>
                <th>贴息余额(元)：</th>
                <td>
                ${(sksh.txye)!}
                </td>
                <th>是否已经结算使用：</th>
                <td>
                <#if sksh.sfjstx?? && sksh.sfjstx?? && sksh.txye?? && sksh.sfjstx=="1" && sksh.txye != 0>
                    否
                </#if>
                <#if sksh.sfjstx?? && sksh.sfjstx?? && sksh.txye?? && sksh.sfjstx=="1" && sksh.txye == 0>
                    是
                </#if>
                </td>
            </tr>
            <tr>
                <th>说&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;明：</th>
                <td colspan="5">
                    按比例释放和一次性释放保证金的用户，充值为承兑票据时，先从金额中扣除贴息金额，如果为一次性使用保证金，先不进行扣除；
                </td>
            </tr>
            <tr>
                <th>申报公司：</th>
                <td>
                ${(sksh.sbgs.qc)!}
                </td>
                <th>申报部门：</th>
                <td>
                ${(sksh.sbbm.qc)!}
                </td>
                <th>申&nbsp;报&nbsp;&nbsp;人：</th>
                <td>
                ${(sksh.sbr.xm)!}
                </td>
            </tr>
            <tr>
                <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
                <td colspan="5">
                ${(sksh.bz)!}
                </td>
            </tr>
            <tr>
                <th>制单人：</th>
                <td>${(sksh.createUser.xm)!}</td>
                <th>制单时间：</th>
                <td colspan="3">${(sksh.dateCreated)?datetime!}</td>
            </tr>
        </table>
    </div>
    <div title="划转明细">
        <table id="sksh_hzmx_table" class="easyui-datagrid"
               url="${base}/sfgl/sksh/sksh_kxhz_detail?skshId=${(sksh.id)!}"
               rownumbers="true" toolbar="#sksh_hzmx_table_toolbar" fit="true" fitColumns="false" showFooter="true">
            <thead>
            <tr>
                <th data-options="field:'bm',width:100,align: 'center'">单据号</th>
                <th data-options="field:'glqy',width:200,align: 'center'">关联企业</th>
                <th data-options="field:'hzje',width:100,formatter:formatJeForHtml2,align: 'center'">划转金额</th>
                <th data-options="field:'hzjeye',width:100,formatter:formatJeForHtml2,align: 'center'">划转余额</th>
                <th data-options="field:'fplx',width:100,align: 'center'">款项类型</th>
                <th data-options="field:'kxsy',width:100,align: 'center'">款项用途</th>
                <th data-options="field:'sbgs',width:100,align: 'center'">申报公司</th>
                <th data-options="field:'sbr',width:100,align: 'center'">申报人</th>
                <th data-options="field:'bz',width:250,align: 'center'">备注</th>
            </tr>
            </thead>
        </table>
    </div>
</div>